package com.health.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@TableName("t_member")
@NoArgsConstructor
@AllArgsConstructor
public class Member implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    private String password;
    private String avatar;
    private Integer sex;
    private String idCard;
    private String telephone;
    private String email;
    private LocalDate birthday;
    private LocalDateTime regTime;
    private String remark;
}